package com.hqyj.javaGraduation.hotel.service;

import com.hqyj.javaGraduation.hotel.pojo.HotelTable;
import com.hqyj.javaGraduation.hotel.pojo.UserTableInfo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.HashMap;

public interface HotelTableService {

    //查询所有的座位信息
    HashMap<String,Object> queryAllHotelTable(HotelTable hotelTable);

    //查询某个座位信息
    String queryHotelTableByTableId(int tableId);

    //新增座位
    HashMap<String, Object> insertTable(HotelTable table);

    // 删除座位
    HashMap<String, Object> deleteTableByTableId(int tableId);

    //修改座位状态
    HashMap<String, Object> updateTable(HotelTable table);

}
